#pragma once
#include "Command.h"
#include "Position.h"

class CommandMovePawn : public Command
{
private:
	Position* oldPos;
	Position* newPos;

public:
	CommandMovePawn(CommandAction*, PlayerModel*, Position*, Position*);
	virtual void doo();
	virtual void undo();
	virtual bool check();
	virtual void validate();
	virtual void cancel();
};
